<div class="main layui-clear">
    <ul class="fly-panel fly-list">
    <li class="fly-list-li">
      <div style="text-align: center;color:#676767;font-size:20px;">查询结果</div>
     </li>
    <?php if(!empty($res)){ ?>
        <?php foreach ($res as $row) { ?>
            <li class="fly-list-li">
                            <h2 class="fly-tip">
                                <a href="{:U('home/jie/index',array('id'=>$row['id']))} " target="_blank">
                                <?php echo $row['title'] ?>
                                </a>
                            </h2>
                            <p>
                                <span>
                                <?php echo CT($row['create_time']) ?>发表
                                </span>
                                <span>
                                    <?php echo $row['status'] ?>
                                </span>
                                <span class="fly-list-hint">
                                    <i class="iconfont" title="回答">
                                        &#xe60c;
                                    </i>
                                    <?php echo $row['answer_num'] ?>
                                    <i class="iconfont" title="人气">
                                        &#xe60b;
                                    </i>
                                    <?php echo $row['view_num'] ?>
                                </span>
                            </p>
            </li>
        <?php }?>
             <?php }else{ ?>
             <li class="fly-list-li">
             <div style="text-align: center;color:red;font-size:20px;">未找到相关内容,请输入多个关键词再次查找</div>
        </li>
     <?php } ?>
    </ul>
 </div>